package com.powerdata.core.paimon.bean.table;


public class TableMetricsBean {
    //    private String databaseName;//库名
//    private String tableName;//表名
    private Double tableSize = 0.0;//表大小
    private Integer files = 0;//文件数
    private Double avgFileSize = 0.0;//平均文件大小
    private Long lastCommitTime;//上次操作时间
    private Long records = 0L;//记录数

    public TableMetricsBean() {
    }

    public TableMetricsBean(Double tableSize, Integer files, Double avgFileSize, Long lastCommitTime, Long records) {
        this.tableSize = tableSize;
        this.files = files;
        this.avgFileSize = avgFileSize;
        this.lastCommitTime = lastCommitTime;
        this.records = records;
    }

    public Double getTableSize() {
        return tableSize;
    }

    public void setTableSize(Double tableSize) {
        this.tableSize = tableSize;
    }

    public Integer getFiles() {
        return files;
    }

    public void setFiles(Integer files) {
        this.files = files;
    }

    public Double getAvgFileSize() {
        return avgFileSize;
    }

    public void setAvgFileSize(Double avgFileSize) {
        this.avgFileSize = avgFileSize;
    }

    public Long getLastCommitTime() {
        return lastCommitTime;
    }

    public void setLastCommitTime(Long lastCommitTime) {
        this.lastCommitTime = lastCommitTime;
    }

    public Long getRecords() {
        return records;
    }

    public void setRecords(Long records) {
        this.records = records;
    }
}
